Job: edge (rust)
Runner: g1t, Linux X64 (Debian bookworm, Node 24, Python 3, Go, Rust)
Matrix: {"group":"rust","units":"api","rust":true,"image":false}
##[group]G1T_TOKEN permissions
contents: read
metadata: read
##[endgroup]
Checking out flagon-io/g1t into /home/runner/work/repo
[command]git init --quiet
[command]git remote add origin https://g1t.sh/flagon-io/g1t.git
[command]git fetch --no-tags --prune --quiet origin refs/heads/main
[command]git checkout --quiet --force -B main 33da85c42bf0fc91f049f13ffca64edc2339612a
Checked out 33da85c42bf0fc91f049f13ffca64edc2339612a
##[group]Rust for Workers
rustup target add wasm32-unknown-unknown
##[endgroup]
shell: bash -e /home/runner/_temp/18dda74f4d3230d5.sh
info: component rust-std for target wasm32-unknown-unknown is up to date
Cache restored from key: worker-build-Linux-20198271f2bfa646f90a27111263b0637937fdecf1b000ed47c7554968c64152 (2.6 MB in 0.7s)
Cache restored from key: worker-build-tools-Linux-20198271f2bfa646f90a27111263b0637937fdecf1b000ed47c7554968c64152 (115.2 MB in 3.2s)
Cache restored from key: cargo-crates-Linux-234d3ac9e685dd62bf0df6d1c591f1efb5b331e5a5fb34e56f1c722dca0df037 (64.9 MB in 2.3s)
Cache restored from key: cargo-target-Linux-rust-2-90652a58a670fcc36b6f8fcd112c008a28ffad277d740763da97f2fa951f46ba (178.6 MB in 8.5s)
##[group]Install
node scripts/deploy.mjs install --only "api"
##[endgroup]
shell: bash -e /home/runner/_temp/18dea7535ddebd60.sh
npm ci --no-audit --no-fund --workspaces=false

added 37 packages in 4s
npm warn install-scripts 2 packages have install scripts not yet covered by allowScripts:
npm warn install-scripts   esbuild@0.28.1 (postinstall: node install.js)
npm warn install-scripts   workerd@1.20261001.1 (postinstall: node install.js)
npm warn install-scripts
npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
##[group]Deploy api
node scripts/deploy.mjs deploy --only "api" --force --no-migrations --concurrency 2
##[endgroup]
shell: bash -e /home/runner/_temp/18dfa75494b622b9.sh
Deploying 33da85c42bf0 (Runner: one tests module after merging step debug and step timeouts)

unit  stage  action  live          migrations  why
----  -----  ------  ------------  ----------  --------------------------------------
api   edge   deploy  98d990cf9f03              17 changed files (apps/api/src/lib.rs)

1 to deploy: edge (api)
== edge: api
[api]  ⛅️ wrangler 4.146.0
[api] ────────────────────
[api] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[api] [custom build] [INFO]: Checking for the Wasm target...
[api] [custom build] 
[api] [custom build] [INFO]: Compiling to Wasm...
[api] [custom build] 
[api] [custom build]    Compiling hashbrown v0.17.1
[api] [custom build] 
[api] [custom build]    Compiling crypto-common v0.1.7
[api] [custom build] 
[api] [custom build]    Compiling digest v0.10.7
[api] [custom build] 
[api] [custom build]    Compiling sha2 v0.10.9
[api] [custom build] 
[api] [custom build]    Compiling indexmap v2.14.2
[api] [custom build] 
[api] [custom build]    Compiling serde_json v1.0.151
[api] [custom build] 
[api] [custom build]    Compiling g1t-contracts v0.1.0 (/home/runner/work/repo/crates/contracts)
[api] [custom build]    Compiling worker v0.8.7
[api] [custom build] 
[api] [custom build]    Compiling g1t-kit v0.1.0 (/home/runner/work/repo/crates/kit)
[api] [custom build] 
[api] [custom build]    Compiling g1t-api v0.1.0 (/home/runner/work/repo/apps/api)
[api] [custom build] 
[api] [custom build]     Finished `release` profile [optimized] target(s) in 51.73s
[api] [custom build] 
[api] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[api] [custom build] 
[api] [custom build] [INFO]: :-)Done in 55.33s
[api] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/apps/api/build/.tmp.
[api] [custom build] 
[api] [custom build] 
[api] [custom build]   index.js  29.3kb
[api] [custom build] 
[api] [custom build] ⚡ Done in 7ms
[api] [custom build] 
[api] Total Upload: 5981.94 KiB / gzip: 1289.75 KiB
[api] Worker Startup Time: 5 ms
[api] Your Worker has access to the following bindings:
[api] Binding                                                   Resource          
[api] env.BLOBS (16a4232cb746418db53782aa068be693)              KV Namespace      
[api] env.ACTIONS_CACHE (g1t-actions-cache)                     R2 Bucket         
[api] env.IDENTITY (g1t-identity)                               Worker            
[api] env.REPOS (g1t-repos)                                     Worker            
[api] env.WORK (g1t-work)                                       Worker            
[api] env.EVENTS (g1t-events)                                   Worker            
[api] env.RUNNER (g1t-runner)                                   Worker            
[api] env.BILLING (g1t-billing)                                 Worker            
[api] env.INTEGRATIONS (g1t-integrations)                       Worker            
[api] env.WEBHOOKS (g1t-webhooks)                               Worker            
[api] env.ACTIONS (g1t-actions)                                 Worker            
[api] env.DEPLOYMENTS (g1t-deployments)                         Worker            
[api] env.CONTEXT (g1t-context)                                 Worker            
[api] env.SEARCH (g1t-search)                                   Worker            
[api] env.SECURITY (g1t-security)                               Worker            
[api] env.PROJECTS (g1t-projects)                               Worker            
[api] env.PACKAGES (g1t-packages)                               Worker            
[api] Uploaded g1t-api (5.00 sec)
[api] Deployed g1t-api triggers (2.59 sec)
[api]   api.g1t.sh (custom domain)
[api]   mcp.g1t.sh (custom domain)
[api] Current Version ID: 5d451a7e-7332-4e76-a483-d4ca9a9c05e3

unit  stage  result  version                               time   note
----  -----  ------  ------------------------------------  -----  ----
api   edge   ok      5d451a7e-7332-4e76-a483-d4ca9a9c05e3  76.2s

Deployed in 77.9s.
Cache saved with key: cargo-target-Linux-rust-90652a58a670fcc36b6f8fcd112c008a28ffad277d740763da97f2fa951f46ba (219.6 MB, packed in 1.5s, sent in 8.0s)
